package com.sealer.pattern.creational.builder.builder;

import com.sealer.pattern.creational.builder.product.Pizza;

/**
 * Created by sealer on 17/03/31.
 */
/* Abstract Builder*/
public abstract class PizzaBuilder {
    protected Pizza pizza;

    public Pizza getPizza() {
        return pizza;
    }

    public void createNewPizzaProduct() {
        pizza = new Pizza();
    }

    public abstract void buildDough();

    public abstract void buildSauce();

    public abstract void buildTopping();
}
